package com.kaoker.system.dao;

import java.util.List;

import com.kaoker.system.entity.ExamPoint;
import com.kaoker.system.entity.Exercise;
import com.kaoker.system.entity.KeyNotePoint;

/**
 * 知识点的DAO.
 * 
 * @author bladestone
 *
 */
public interface IKeyNotePointDao {
    public void addKeyNotePoint(KeyNotePoint keyNotePoint);
    public void deleteKeyNotePoint(KeyNotePoint keyNotePoint);
    
    public KeyNotePoint getKeyNotePoint(Long id);
    public KeyNotePoint getKeyNotePoint(String name);
    
    /**
    public List<KeyNotePoint> getReferKeyNotePoints(KeyNotePoint keyNotePoint);
    public List<ExamPoint> getReferExamPoints(KeyNotePoint keyNotePoint);
    public List<Exercise> getReferExercises(KeyNotePoint keyNotePoint);
    */
    public void updateKeyNotePoint(KeyNotePoint keyNotePoint);
}
